package no.eirikb.bomberman.server;

import no.eirikb.bomberman.shared.User;

/**
 * The server needs additional info about the user, such as hash
 * @author eirikb
 */
public class ServerUser {

    private User user;
    private long time;
    private Double hash;

    public ServerUser(User user, Double hash) {
        this.user = user;
        this.hash = hash;
    }

    public Double getHash() {
        return hash;
    }

    public long getTime() {
        return time;
    }

    public User getUser() {
        return user;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
